package com.manage.platform.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Null;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * YWD
 * 2025/9/29
 */
@Accessors(chain = true)
@Data
public class AchieveDto implements Serializable {

    @Schema(description = "成果ID")
    private Long id;

    @Null
    @Schema(description = "创建人ID", hidden = true)
    private Long userId;

    @Schema(description = "成果类别", hidden = true)
    private String category = "自动识别";

    @Schema(description = "成果名称")
    private String name;

    @Schema(description = "成果日期")
    private String achieveDate;

    @Schema(description = "信息来源(数据来源)")
    private String source;

    @Schema(description = "原始链接")
    private String originalLink;

    @Schema(description = "备用链接")
    private String backupLink;

    @Schema(description = "成果详情")
    private String details;

    @Schema(description = "是否公开(0=否,1=是)",hidden = true)
    private Integer isPublic = 1;

    @Schema(description = "审批状态(0=待审批,1=已处理,2=已驳回)",hidden = true)
    private Integer status = 0;

}
